#ifndef DIALOG_H
#define DIALOG_H
#include  <QDialog>
//f4 回到上一个文件
class QCheckBox;
class QRadioButton;
class QPlainTextEdit;
class QPushButton;

class Dialog : public QDialog
{
    Q_OBJECT
private:
    QCheckBox *checkBoxUnder;
    QCheckBox *checkBoxItalic;
    QCheckBox *checkBoxBold;

    QRadioButton *radioBlack;
    QRadioButton *radioRed;
    QRadioButton *radioPink;

    QPlainTextEdit *txtEdit;

    QPushButton *btnOk;
    QPushButton *btnClear;
    QPushButton *btnClose;

 private slots:

    void do_checkBoxUnder(bool checked);
    void do_checkBoxItalic(bool checked);
    void do_checkBoxBold(bool checked);

    void do_setColor();
public:
    Dialog(QWidget *parent = nullptr);
    ~Dialog();
private:

};
#endif // DIALOG_H
